package com.kingmed.kmss.common.enums.admin;

import java.util.stream.Stream;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 消息来源枚举
 *
 * @author LiuBaoWen
 * @since 2023-02-21
 */
@Getter
@AllArgsConstructor
public enum MsgBizSourceEnum {
    //消息来源（线索，商机，合同，客户，专家库，营销，促销）
    LDM(1, "线索"),
    OPM(2, "商机"),
    CTM(3, "合同"),
    CDM(4, "客户"),
    ERM(5, "专家库"),
    MKT(6, "营销"),
    TKM(7, "任务"),
    PTM(8, "促销");

    int type;
    String desc;

    public static Stream<MsgBizSourceEnum> stream() {
        return Stream.of(MsgBizSourceEnum.values()); 
    }
}
